package cn.fulong.frame.service.impl;

import cn.fulong.frame.service.ComputeData;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Service("computeDataByTree")
public class ComputeDataByTree extends ComputeData {

    @Override
    public Map execute(Map datas, Map compute) throws Exception {

        String parentCode = compute.get("parentCode").toString();
        String parentKey = compute.get("parentKey").toString();
        String currentKey = compute.get("currentKey").toString();

        String dsName = compute.get("dsName").toString();
        List list = (List) datas.get(dsName);


        String name = compute.get("name").toString();
        Map result = new HashMap();
        return result;
    }
}
